/*
 * Copyright (c) 2023, 2023,yzc.cn All rights reserved.
 *
 */
package cn.yzc.controller;

import cn.yzc.pojo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>Project: SpringBootPro - HelloController</p>
 * <p>Powered by yzc On 2023-11-07 10:17:41</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@RestController
public class HelloController {
    @GetMapping("hello")
    public Result Hello(){
        Map map = new HashMap<>();
        map.put("name","李四");
        map.put("age",18);
        return Result.success(map);
    }
}
